/**
 * 用户中心
 */

import http from '../http'

/**
 * 账号密码登录
 */
const login = (param) => http.post('user/login', param)

/**
 * 退出登录
 */
const logout = (param) => http.post('user/logout', param)

export default {
  login,
  logout
}
